package com.riber.student.dao;

import com.riber.student.entity.RcTeacher;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.riber.student.vo.input.SearchChoseCourseVo;
import com.riber.student.vo.output.CourseTimeTableVo;
import com.riber.student.vo.output.StudentScoreVo;
import com.riber.student.vo.output.TeacherCourseVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author riber
 * @since 2022-10-25
 */
public interface RcTeacherMapper extends BaseMapper<RcTeacher> {

    List<TeacherCourseVo> getTeacherCourse(@Param("userId") Integer userId);

    List<CourseTimeTableVo> showTeacherCourseTimeTable(@Param("userId") Integer userId);

    List<StudentScoreVo> searchStudentScore(SearchChoseCourseVo vo);
}
